package com.water_work_form.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("记录——容量分析（总硬度、总碱度、氯化物、高猛酸盐指数）部分基础数据")
@TableName("basic_restriction as a left join basic_ph as b on a.name = b.project left join basic_formula as c on a.name = c.name")
public class CapacityAnalysisDTO {

    @TableField(value = "a.id")
    private Long id;

    @ApiModelProperty("项目类型")
    @TableField(value = "a.name")
    private String name;

    @ApiModelProperty("标准方法依据")
    @TableField(value = "a.standard_basis")
    private String standardBasis;

    @ApiModelProperty("标准方法依据")
    @TableField(value = "a.analysis_method")
    private String analysisMethod;

    @ApiModelProperty("溶液名称")
    @TableField(value = "b.name")
    private String standardName;

    @ApiModelProperty("标定浓度")
    @TableField(value = "b.concentration")
    private String concentration;

    @ApiModelProperty("标定日期")
    @TableField(value = "b.standard_date")
    private String standardDate;

    @ApiModelProperty("公式内容")
    @TableField(value = "c.formula_content")
    private String formulaContent;

    @ApiModelProperty("公式编号")
    @TableField(value = "c.num")
    private Integer num;

}
